import request from '@/utils/request'
export default {
    getPageList(current, limit, courseFrontVo) {
        return request({
            url: `/eduservice/coursefront/pageFrontCourse/${current}/${limit}`,
            method: 'post',
            data: courseFrontVo
        })
    },

    //查询所有的类
    getAllSubject() {
        return request({
            url: `/eduservice/subject/getAll`,
            method: 'get'
        })
    },
    getFrontCourseInfo(courseId) {
        return request({
            url: `/eduservice/coursefront/getFrontCourseInfo/${courseId}`,
            method: 'get'
        })
    },

}